﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace LaKuaShop_TestDemo
{
    /// <summary>
    /// Login.xaml 的交互逻辑
    /// </summary>
    public partial class Login : Window
    {
        public Login()
        {
            WindowStartupLocation = WindowStartupLocation.CenterScreen;
            InitializeComponent();
        }
        //注册按钮
        private void Register_Click(object sender, RoutedEventArgs e)
        {
            frame1.Source = new Uri("Page/RegisterPage.xaml", UriKind.Relative);
        }
        //登录按钮
        private void Login_Button_Click(object sender, RoutedEventArgs e)
        {
            frame1.Source = new Uri("Page/LoginPage.xaml", UriKind.Relative);

        }
        //关闭按钮
        private void Close_Button_Click(object sender, RoutedEventArgs e)
        {
            this.Close();
        }
    }
}
